aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/reset/[code]
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/(app)/reset/[code]')
-rw-r--r--src/routes/(app)/reset/[code]/+page.svelte5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/routes/(app)/reset/[code]/+page.svelte b/src/routes/(app)/reset/[code]/+page.svelte
index 227d0106..4cecb4fb 100644
--- a/src/routes/(app)/reset/[code]/+page.svelte
+++ b/src/routes/(app)/reset/[code]/+page.svelte
@@ -1,4 +1,5 @@
<script>
+ import { PUBLIC_RECAPTCHA_SITE_KEY } from "$env/static/public";
import { browser } from "$app/environment";
import { onDestroy, tick } from "svelte";
import { t } from "$lib/translations";
@@ -13,7 +14,7 @@
let email;
let loading;
let recaptchaToken = "";
- let recaptchaSiteKey = "6LfCd8YkAAAAANmVJgzN3SQY3n3fv1RhiS5PgMYM";
+ let recaptchaSiteKey = PUBLIC_RECAPTCHA_SITE_KEY;
const getRecaptchaToken = () =>
new Promise((resolve, reject) => {
@@ -59,7 +60,7 @@
<svelte:head
><script
- src="https://www.google.com/recaptcha/api.js?render=6LfCd8YkAAAAANmVJgzN3SQY3n3fv1RhiS5PgMYM"
+ src={"https://www.google.com/recaptcha/api.js?render=" + recaptchaSiteKey}
></script></svelte:head
>